package com.sc.nft.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.CollectionOriginalTypeEnum;
import com.sc.nft.sup.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
/**
 * 权益道具赠送日志(CollectionGiftLog)表实体类
 *
 * @author 王伟成
 * @since 2024-03-16 15:19:39
 */
@Data
@TableName("sc_collection_gift_log")
@ApiModel(value = "sc_collection_gift_log 对象", description = "权益道具赠送日志")
public class CollectionGiftLog extends SuperEntity implements Serializable {
    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "藏品id")
    private Long collectionId;

    @ApiModelProperty(value = "编号")
    private Integer numbering;

    @ApiModelProperty(value = "支付总数是多少.")
    private BigDecimal paymentSum;

    @ApiModelProperty(value = "消耗类型 1.星球碎片 2.余额")
    private Integer consumeType;

    @ApiModelProperty(value = "消耗数量")
    private String quantityConsume;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "赠送人id")
    private Long giftUserId;

    @ApiModelProperty(value = "接收人id")
    private Long receiveUserId;

    @ApiModelProperty(value = "赠送的列表集合.以json形式存储.作为技术查询凭证")
    private String giftPropIds;

    @ApiModelProperty(value = "转增类型 : MATE_UNIVERSE:玛特宇宙 MATE_WALLET:玛特钱包")
    private CollectionOriginalTypeEnum giveType;

    @ApiModelProperty(value = "编号集合")
    private String numberingList;

    @ApiModelProperty(value = "玛特钱包用户昵称(目标)")
    private String toUserNickName;

    @ApiModelProperty(value = "玛特钱包用户地址(目标)")
    private String toUserAddr;

    @ApiModelProperty(value = "玛特钱包用户昵称(来源)")
    private String fromUserNickName;

    @ApiModelProperty(value = "玛特钱包用户地址(来源)")
    private String fromUserAddr;


}
